Release/1.0.0 - #16
Merged
Merged
Conversation
* Initial commit * feat(OSPO): synchronise OSPO workflows * Initial commit
* fix(NON-REQ): update REAMDE.md installation steps based on testing * fix(NON-REQ): minor text update * fix(NON-REQ): minor formatting update * fix(NON-REQ): fix env template name * fix(NON-REQ): ignore env files * fix(NON-REQ): add note about certificate country names
…odules (#4) * Add Keycloak OpenTofu configuration and supporting modules - Introduced OpenTofu configuration for managing Keycloak resources including realm, clients, client scopes, and roles. - Added reusable `federator_client` module for creating clients with optional roles and mappings. - Defined helper `Makefile` and documentation for managing workflows (init, plan, apply, validate, etc.). - Configured Keycloak S3 backend and core variables for flexible workspace management. - Enhanced JWT `aud` claim parsing in `JwtToken` model. - Updated `.gitignore` to include Terraform state and configuration files. * feat(DPAV-1421): minor formatting updates * feat(DPAV-1421): add terraform directory to gitignore * feat(DPAV-1421): remove Apache 2.0 license file --------- Co-authored-by: cruddasj <james.cruddas@informed.com>
* - Add development environment configuration with new `application-dev.yml` file - Update `Dockerfile` to include non-root user and improve permission handling - Introduce `Dockerfile-dev` for development-specific container build - Add build and publish shell scripts for Docker workflows - Enhance `JwtToken` to support single-value arrays with `@JsonFormat` annotation - Update SSL properties in `SslPropertyInitializer` to align with new configuration structure - Modify server port and add SSL settings in `application.yml` * Remove `application-dev.yml` configuration file * Adding PR template * feat(OSPO): synchronise OSPO workflows * Add issue templates for bug reports and feature requests * Refine PR template: cleanup formatting and improve readability
* Add dynamic audience resolution for Federator scopes, update formatting, and rename backend file * Add dynamic audience resolution for Federator scopes, update formatting, and rename backend file * Preparing the repository for public release * Preparing the repository for public release * Update licensing to Open Government Licence v3.0 for public release * Update copyright formatting and align SPDX-License-Identifier across all files * Update copyright formatting and align SPDX-License-Identifier across all files * Update copyright formatting and align SPDX-License-Identifier across all files * Update copyright formatting and align SPDX-License-Identifier across all files * Update copyright formatting and align SPDX-License-Identifier across all files * Update copyright formatting and align SPDX-License-Identifier across all files * Update copyright formatting and align SPDX-License-Identifier across all files
* - Add detailed OpenAPI annotations to `ConfigurationController` for producer and consumer endpoints. - Enable Swagger UI and OpenAPI generation through Springdoc configuration. - Modify `application.yml` to include placeholders for sensitive configuration and notes for local development. - Permit access to Swagger documentation endpoints in `SecurityConfig`. - Add `application-local.yml` for local environment configuration. - Update `GlobalExceptionHandler` to include exception message in error response. - Document authentication requirements and OpenAPI usage in a new `AUTHENTICATION_REQUIREMENTS.md`. - Extend `README.md` to include Swagger/OpenAPI documentation details. * DPAV-1726 Summary Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation. * DPAV-1726 Summary Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation. * DPAV-1726 Summary Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation. * DPAV-1717 Summary Refactor data model and persistency layer to support attributes for Product-Consumer relationships. - Replace `ConsumerProviderRepository` with `ProductConsumerRepository` for consistency. - Introduce `ProductConsumerAttribute` entity, repository, and mappings. - Add `AttributesDTO` and update relevant converters (`ConsumerConverter`, `ProductConsumerConverter`). - Modify DTOs to include attributes for enhanced configurability. - Update `application.yml` to reflect required client ID changes. - Add database migration script to seed sample attributes. - General refactoring and cleanup for alignment with new attributes.
* Add Maven workflow for automated builds, testing, and linting * Add Maven wrapper configuration with Apache Maven 3.9.9 * Add step to upload JaCoCo HTML report in Maven workflow
* - Add detailed OpenAPI annotations to `ConfigurationController` for producer and consumer endpoints. - Enable Swagger UI and OpenAPI generation through Springdoc configuration. - Modify `application.yml` to include placeholders for sensitive configuration and notes for local development. - Permit access to Swagger documentation endpoints in `SecurityConfig`. - Add `application-local.yml` for local environment configuration. - Update `GlobalExceptionHandler` to include exception message in error response. - Document authentication requirements and OpenAPI usage in a new `AUTHENTICATION_REQUIREMENTS.md`. - Extend `README.md` to include Swagger/OpenAPI documentation details. * DPAV-1726 Summary Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation. * DPAV-1726 Summary Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation. * DPAV-1726 Summary Add `OpenApiConfig` class to define API metadata and security scheme for Swagger/OpenAPI generation. * Update `pom.xml` to clean and reformat XML structure for improved readability. No functional changes made. * Update PR template to improve formatting and readability. No functional changes made. * Add step to upload JaCoCo HTML report in Maven workflow
* **Refactor ConfigurationProviderImpl to simplify producer retrieval** - Replaced retrieval logic for producers by removing intermediate data provider fetching and directly using `getProducersByConsumerIds`. - Updated related tests and mock configurations to reflect this change. - Simplified ProducerService, renaming and adapting methods to support new producer lookup logic via consumer IDs. * **Enhance ConfigurationProviderImpl to filter producer products by valid IDs** - Added logic to filter each producer's products based on provided validProductIds; clears products if no valid IDs exist. - Updated affected tests to validate the new filtering logic with changes to `consumerAllowedDataProvidersService` interactions.
#12) * **Refactor ConfigurationProviderImpl to simplify producer retrieval** - Replaced retrieval logic for producers by removing intermediate data provider fetching and directly using `getProducersByConsumerIds`. - Updated related tests and mock configurations to reflect this change. - Simplified ProducerService, renaming and adapting methods to support new producer lookup logic via consumer IDs. * **Enhance ConfigurationProviderImpl to filter producer products by valid IDs** - Added logic to filter each producer's products based on provided validProductIds; clears products if no valid IDs exist. - Updated affected tests to validate the new filtering logic with changes to `consumerAllowedDataProvidersService` interactions. * Update authorization roles and enhance security configurations - Replaced `hasRole` with `hasAuthority` in `@PreAuthorize` annotations for consistency with Spring Security standards. - Added `@JsonProperty` for `resource_access` in `JwtToken` to ensure correct JSON mapping. - Enabled method-level security with `@EnableMethodSecurity` in `SecurityConfig`. - Updated `GlobalExceptionHandler` to handle `AccessDeniedException` and `AuthorizationDeniedException`.
…hema documentation. (#15)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




initial release of management node to main branch